package com.hex.ds.hdtp.core.web.data.transfer.converter;

import com.hex.ds.hdtp.core.app.data.transfer.dto.request.DataTransferTaskRequestDto;
import com.hex.ds.hdtp.core.web.data.transfer.vo.DataTransferTaskVo;
import com.hex.ds.hdtp.core.web.data.transfer.vo.query.DataTransferTaskQueryVo;
import org.mapstruct.Mapper;

/**
 * @Package: com.hex.ds.hdtp.core.web.data.transfer.converter
 * @ClassName IDataTransferTaskVoConverter
 * @Description: 数据迁移任务-VO对象转DTO对象
 * @Author: wz.li
 * @Date 2023/8/17 20:31
 * @Version v2.0.2
 **/
@Mapper(componentModel = "Spring", imports = {IDataTransferListVoConverter.class})
public interface IDataTransferTaskVoConverter {

    DataTransferTaskRequestDto toDto(DataTransferTaskVo dataTransferTaskVo);

    DataTransferTaskRequestDto toDtoForQueryVo(DataTransferTaskQueryVo dataTransferTaskQueryVo);
}
